package com.aiwiown.face.response;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.discern.FaceRecognizetextResult;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * @ClassName : FaceRecognizetextResponse
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-06-13 15:06
 */
public class FaceRecognizetextResponse extends ApiResponse {
    private static final long serialVersionUID = -2689848022936875535L;

    /**
     * 被检测的图片在系统中的标识
     */
    @ApiField("image_id")
    private String imageId;
    /**
     * 被检测出的文字信息，由一个或多个data对象组成。
     *
     * 注：如果没有检测出文字则为空
     */
    @ApiField("result")
    private FaceRecognizetextResult result;

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public FaceRecognizetextResult getResult() {
        return result;
    }

    public void setResult(FaceRecognizetextResult result) {
        this.result = result;
    }
}
